package com.cqhilink.iot.jobstandardmanagement.facade.service.workcellinfo;

import com.alibaba.fastjson.JSONObject;
import com.cqhilink.iot.jobstandardmanagement.facade.model.CellDataSet;
import com.cqhilink.iot.jobstandardmanagement.facade.model.Employee;
import com.cqhilink.iot.jobstandardmanagement.facade.model.EntityDataSetVo;

/**
 * 实体数据关联service接口
 * Created by jiangjx on 2017/1/9.
 */
public interface JsmIEntityDataSetService {

    /**
     * 记载列表数据
     * @param cellDataSet 分页公用数据
     */
    JSONObject loadEntityDateSetTable(CellDataSet cellDataSet) throws Exception;

    /**
     * 保存操作单元关联的数据集
     *
     * @param entityDataSetVo 生产实体类型数据封装类
     * @return
     */
    Integer saveEntityDateSet(EntityDataSetVo entityDataSetVo, Employee employee) throws Exception;

    /**
     * 根据id修改关联记录为删除
     *
     * @param datasetId
     * @return
     */
    Integer delEntityDateSet(String datasetId,Employee employee) throws Exception;
}
